- 
		Home
	
 
	- 
Rank Math SEO – AI SEO Tools to Dominate SEO Rankings
 
- 
1.0.254
 
- 
Code
 
- 
Classes
 
-  Redirector 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											76 | 
										
																			
											| Dependencies | 
											7 | 
										
																			
											| Dependents | 
											1 | 
										
																	
							 
													
								
																			
											| Total lines | 
											431 | 
										
																			
											| Lines of code | 
											228 | 
										
																			
											| Logical lines of code | 
											123 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											134 | 
										
																			
											| Methods | 
											22 | 
										
																			
											| Properties | 
											7 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 22
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| redirect() | 
									S  | 
																	54 | 
													7 | 
													20 | 
							
					
				| can_run_fallback() | 
									S  | 
																	56 | 
													7 | 
													18 | 
							
					
				| set_redirection() | 
									S  | 
																	57 | 
													7 | 
													16 | 
							
					
				| fallback() | 
									S  | 
																	57 | 
													5 | 
													19 | 
							
					
				| everything() | 
									S  | 
																	57 | 
													4 | 
													18 | 
							
					
				| from_cache() | 
									S  | 
																	58 | 
													4 | 
													15 | 
							
					
				| redirect_without_target() | 
									S  | 
																	62 | 
													4 | 
													12 | 
							
					
				| is_amp_endpoint() | 
									S  | 
																	77 | 
													4 | 
													3 | 
							
					
				| pre_filter() | 
									S  | 
																	61 | 
													3 | 
													13 | 
							
					
				| get_current_object_type() | 
									S  | 
																	60 | 
													3 | 
													13 | 
							
					
				| start() | 
									S  | 
																	62 | 
													3 | 
													11 | 
							
					
				| flow() | 
									S  | 
																	65 | 
													3 | 
													9 | 
							
					
				| do_debugging() | 
									S  | 
																	70 | 
													3 | 
													6 | 
							
					
				| set_redirect_to_regex() | 
									S  | 
																	65 | 
													3 | 
													9 | 
							
					
				| get_redirections_fallback_post_id() | 
									S  | 
																	64 | 
													3 | 
													9 | 
							
					
				| set_template_include_hook() | 
									S  | 
																	67 | 
													2 | 
													8 | 
							
					
				| set_template_include() | 
									S  | 
																	72 | 
													2 | 
													6 | 
							
					
				| set_redirect_to() | 
									S  | 
																	70 | 
													2 | 
													6 | 
							
					
				| set_404() | 
									S  | 
																	73 | 
													2 | 
													5 | 
							
					
				| get_header_code() | 
									S  | 
																	74 | 
													2 | 
													4 | 
							
					
				| get_redirect_header() | 
									S  | 
																	77 | 
													2 | 
													3 | 
							
					
				| __construct() | 
									S  | 
																	75 | 
													1 | 
													5 |